Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default discontinued prescriptions to collapsed view #7780

Closed
wants to merge 1 commit into from

Conversation

bodhish
Copy link
Member

@bodhish bodhish commented May 8, 2024

Related to #7767

Implements a collapsible view for discontinued prescriptions in the PrescriptionsTable component to improve visibility and management of active prescriptions.

  • Collapsible View Implementation: Adds functionality to collapse and expand prescription details. This is achieved by maintaining a state of collapsed prescriptions and toggling this state upon user interaction.
  • Default Collapsed State for Discontinued Prescriptions: Automatically collapses discontinued prescriptions by default. This is facilitated through the initialization of the component's state with the IDs of discontinued prescriptions.
  • User Interaction: Introduces a toggle button next to each prescription entry, allowing users to manually collapse or expand the prescription details. This provides flexibility in viewing prescription information according to user preference.

For more details, open the Copilot Workspace session.

Copy link

vercel bot commented May 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2024 7:47pm

Copy link

netlify bot commented May 8, 2024

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 8892f56
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/663bd5e0030af100085e289e
😎 Deploy Preview https://deploy-preview-7780--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

cypress bot commented May 8, 2024

Passing run #2493 ↗︎

0 123 0 0 Flakiness 0

Details:

Default discontinued prescriptions to collapsed view
Project: CARE Commit: 8892f56013
Status: Passed Duration: 02:53 💡
Started: May 8, 2024 7:48 PM Ended: May 8, 2024 7:51 PM

Review all test suite changes for PR #7780 ↗︎

@bodhish bodhish closed this May 8, 2024
@bodhish bodhish deleted the bodhish/collapse-discontinued branch December 1, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant